import request from '@/utils/request'
import $qs from 'qs'
export function platformIndex(params) {
  return request({
    url: '/platformIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function storeAdminAddEdit(params) {
  return request({
    url: '/storeAdminAddEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function storeAdminDetail(params) {
  return request({
    url: '/storeAdminDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function storeAdminIndex(params) {
  return request({
    url: '/storeAdminIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function storeAdminDelete(params) {
  return request({
    url: '/storeAdminDelete',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformChangeData(params) {
  return request({
    url: '/platformChangeData',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformEditData(params) {
  return request({
    url: '/platformEditData',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformDel(params) {
  return request({
    url: '/platformDel',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformRecycle(params) {
  return request({
    url: '/platformRecycle',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformChangeNormal(params) {
  return request({
    url: '/platformChangeNormal',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformPeople(params) {
  return request({
    url: '/platformPeople',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformProduct(params) {
  return request({
    url: '/platformProduct',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformPackage(params) {
  return request({
    url: '/platformPackage',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformSetting(params) {
  return request({
    url: '/platformSetting',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformOldSet(params) {
  return request({
    url: '/platformOldSet',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function platformStatus(params) {
  return request({
    url: '/platformStatus',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function addDiyPageInfo(params) {
  return request({
    url: '/addDiyPageInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function updateDiyPageInfo(params) {
  return request({
    url: '/updateDiyPageInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function urlIndex(params) {
  return request({
    url: '/urlIndex',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function urlDel(params) {
  console.log('222222222', params)
  return request({
    url: '/urlDel',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function urlDetail(params) {
  console.log('222222222', params)
  return request({
    url: '/urlDetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function getDiyPageList(params) {
  return request({
    url: '/getDiyPageList',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function setDiyPageUse(params) {
  return request({
    url: '/setDiyPageUse',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function delDiyPageInfo(params) {
  return request({
    url: '/delDiyPageInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function getDiyPageInfo(params) {
  return request({
    url: '/getDiyPageInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function addDiyMenuInfo(params) {
  return request({
    url: '/addDiyMenuInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function getDiyMenuInfo(params) {
  return request({
    url: '/getDiyMenuInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function preview(params) {
  return request({
    url: '/preview',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function copyPage(params) {
  return request({
    url: '/copyPage',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getBasicLink(params) {
  return request({
    url: '/getBasicLink',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function storeMenu(params) {
  return request({
    url: '/storeMenu',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function applicationChannel(params) {
  return request({
    url: '/applicationChannel',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function applicationSourceOpen(params) {
  return request({
    url: '/moreSource',
    method: 'get',
    data: params
  })
}
export function sourceOpenSave(params) {
  return request({
    url: '/moreSource',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getDiyThemeList(params) {
  return request({
    url: '/getDiyThemeList',
    method: 'post',
    data: $qs.stringify(params)
  })
}

export function addDiyThemeInfo(params) {
  return request({
    url: '/addDiyThemeInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getDiyThemeInfo(params) {
  return request({
    url: '/getDiyThemeInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function updateDiyThemeInfo(params) {
  return request({
    url: '/updateDiyThemeInfo',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function setDiyThemeOpen(params) {
  return request({
    url: '/setDiyThemeOpen',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delDiyThemeOpen(params) {
  return request({
    url: '/delDiyThemeOpen',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function delGoodShop(params) {
  return request({
    url: '/delGoodShop',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getdetail(params) {
  return request({
    url: '/getdetail',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function goodShopList(params) {
  return request({
    url: '/goodShopList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function editGoodShop(params) {
  return request({
    url: '/editGoodShop',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function addGoodShop(params) {
  return request({
    url: '/addGoodShop',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function setStatus(params) {
  return request({
    url: '/setStatus',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function urlAddEdit(params) {
  return request({
    url: '/urlAddEdit',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function urlStatus(params) {
  return request({
    url: '/urlStatus',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function getPlugLiveList(params) {
  return request({
    url: '/getPlugLiveList',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function couponCenterGet(params) {
  return request({
    url: '/couponCenterGet',
    method: 'post',
    data: $qs.stringify(params)
  })
}
export function couponCenterSave(params) {
  return request({
    url: '/couponCenterSave',
    method: 'post',
    data: $qs.stringify(params)
  })
}